package com.face.server.service;

import com.face.server.entity.Student;
import com.face.server.vo.NormStu;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * Created by ryan on 2018/1/25.
 */
public interface StudentService {

    Student editInfo(String sid, MultipartFile proPhoto, String userName, String phone) throws IOException;
    Student addStudent(String stuName, Boolean stuSex, Integer stuNum, String idNum, Integer buildNum, Integer dormNum,String className,String stuPhone);

    Page<NormStu> listStudents(PageRequest pageRequest, String key1, String key2);

    Void deleteStudents(String sids);


}
